﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO_MechSysWeb;
using DAL_MechSysWeb;

namespace BLL_MechSysWeb
{
    public class BLLCurriculo
    {
        DALCurriculo dalCurriculo = new DALCurriculo();

        public void Inserir(DTOCurriculo dtoCurriculo)
        {
            dalCurriculo.Inserir(dtoCurriculo);
        }

        public void Excluir(int curriculoID)
        {
            dalCurriculo.Excluir(curriculoID);
        }

        public int BuscarNumCurriculosRecebidos()
        {
            return dalCurriculo.BuscarNumCurriculosRecebidos();
        }

        public DTOCurriculo BuscarCurriculoPorCurriculoID(int curriculoID)
        {
            return dalCurriculo.BuscarCurriculoPorCurriculoID(curriculoID);
        }

        public DTOCurriculo BuscarCurriculoImagemPorCurriculoID(int curriculoID)
        {
            return dalCurriculo.BuscarCurriculoImagemPorCurriculoID(curriculoID);
        }

        public List<DTOCurriculo> BuscarCurriculosRecebidos()
        {
            return dalCurriculo.BuscarCurriculosRecebidos();
        }
    }
}
